public class Main {
    public static void main (String[] args) {
        int i=1;
        while(i<=10){
            if(i==3){
                break;
            }
            System.out.println(i);
            i++;
        }
        main1(args);
    }

    public static void main1 (String[] args) {
        for(int a=100;a<=200;a++){
            if(a%3!=0){
                a++;
                continue;
            }
            System.out.println(a);
            a++;
        }
    }
}
